package com.hyacinth.lotterysystem.dto.param;

import com.hyacinth.lotterysystem.service.enums.ActivityPrizeStatusEnum;
import com.hyacinth.lotterysystem.service.enums.ActivityPrizeTiersEnum;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class ActivityDetailCachePrizeParam {
    private String name;
    private Long prizeId;
    private Long prizeAmount;
    private String description;
    private BigDecimal price;
    private String imageUrl;
    private ActivityPrizeTiersEnum prizeTiers;
    private ActivityPrizeStatusEnum status;

    public Boolean valid() {
        return status.equals(ActivityPrizeStatusEnum.INIT);
    }
}
